$OpenBSD: patch-libfreeipmi_driver_ipmi-kcs-driver_c,v 1.3 2016/12/30 17:39:22 jca Exp $

Disable low-level IO code.

--- libfreeipmi/driver/ipmi-kcs-driver.c.orig	Wed Nov  2 23:50:21 2016
+++ libfreeipmi/driver/ipmi-kcs-driver.c	Thu Dec 29 22:55:58 2016
@@ -148,7 +148,7 @@
 #if defined(__FreeBSD__)
 # include <machine/cpufunc.h>
 # include <machine/sysarch.h>
-#elif defined(__NetBSD__) || defined(__OpenBSD__)
+#elif defined(__NetBSD__)
 # include <machine/pio.h>               /* inb/outb */
 # include <machine/sysarch.h>   /* sysarch call */
 #elif defined(HAVE_SYS_IO_H)
@@ -159,7 +159,7 @@
 # include <asm/io.h>
 #endif
 
-#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
+#if defined(__FreeBSD__) || defined(__NetBSD__)
 # define _INB(port)  inb (port)
 # define _OUTB(data, port)  outb (port, data)
 #elif defined(HAVE_IOPL)
